The Event Loop, Contact Displays, and Contact Input</A>
</H3><#4834#>
<A ID="163"><tex2html_anchor_invisible_mark></A>
CLUE defines the <#164#><TT>contact-display</TT><#164#> object type, which represents the
basic input processing of an interactive application and which supports
the <#165#><B>event loop model</B><#165#><A ID="166"><tex2html_anchor_invisible_mark></A> for application
input.
A <#167#><TT>contact-display</TT><#167#> object inherits the behavior of a CLX
<#168#><TT>xlib:display</TT><#168#> object<A ID="169"><tex2html_anchor_invisible_mark></A> and can be substituted wherever a <#170#><TT>xlib:display</TT><#170#> is allowed.
<P>
In CLUE, the event loop is represented as an operation on a <#171#><TT>contact-display</TT><#171#> object, which dispatches input events to the
appropriate contact. At the center of the CLUE event loop,
the contact receiving an input event is then responsible for invoking all